Skip to content

Fix #5: No more overreading#10

Merged
joshbarrass merged 9 commits into
masterfrom
fix-overread
Oct 12, 2022
Merged

Fix #5: No more overreading#10
joshbarrass merged 9 commits into
masterfrom
fix-overread

Conversation

@joshbarrass
Copy link
Copy Markdown
Owner

This PR allows more precise determination of the EOF via samples (which is an integer quantity that can be tracked exactly by the decoder, rather than by seconds, which is a float quantity subject to floating point errors and requires additional calculation), and truncates the number of bytes copied to prevent over-reading. This fixes #5.

@joshbarrass joshbarrass merged commit 9ee0ec4 into master Oct 12, 2022
This was referenced Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Track sometimes plays longer than the length due to over-reading

1 participant